Describe<TChild>(XPathDescription) Method
Describes a child test object using the provided XPath.
Remarks
The current instance test object is the parent of the returned test object. UFT Developer searches for this test object only when an operation on this test object is invoked. This means that if the test object is not found in the application, this command still succeeds. In this case, an exception is thrown only when an operation is invoked.

C# Syntax

                            
                                TChild Describe<TChild>( 
   XPathDescription xpath
)
where TChild: class, IWebElement

Parameters

xpath
The XPath used to find the child test object.

Type Parameters

TChild
The child test object type.

Return Value

The requested child test object with its description.